/*
 * @Author: c
 * @Date: 2024-01-09 12:24:20
 * @LastEditTime: 2024-02-06 10:49:03
 * @LastEditors: c
 * @Description: 专辑模块
 * @FilePath: \music-web-backend\src\core\music\album\album.module.ts
 * https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AlbumController } from './album.controller';
import { AlbumService } from './album.service';
import { DAlbum } from './dao/album.dao';
import { Album } from './entities/album.entity';

@Module({
  imports:[TypeOrmModule.forFeature([Album])],
  controllers: [AlbumController],
  providers: [AlbumService,DAlbum],//提供给模块内部使用
  exports:[AlbumService]//提供给外部模块使用
})
export class AlbumModule {}
